package com.mtt.erp.logistics.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 电子面单寄货人与收件人DTO
 */
@Getter
@Setter
@ApiModel(
        description = "电子面单寄货人"
)
public class FaceOrderPerson implements Serializable {
    private static final long serialVersionUID = 1L;
    //公司
    @ApiModelProperty(
            value = "发件公司名称"
    )
    private String company;
    //姓名
    @ApiModelProperty(
            value = "发件人姓名",
            required = true
    )
    private String name;
    //手机号
    @ApiModelProperty(
            value = "发件人手机号",
            required = true
    )
    private String mobile;
    //省省(如广东省，不要缺少“省”； 如是直辖市，请直接传北京、上海等；
    //如是自治区，请直接传广西壮 族自治区等)
    @ApiModelProperty(
            value = "发件人省份",
            required = true
    )
    private String provinceName;
    //市(如深圳市，不要缺少 “市； 如是市辖区，请直接传北京 市、上海市等”)
    @ApiModelProperty(
            value = "发件人城市",
            required = true
    )
    private String cityName;
    //区/县(如福田区，不要缺 少“区”或“县
    @ApiModelProperty(
            value = "发件人区/县",
            required = true
    )
    private String expAreaName;
    //发件人详细地址
    @ApiModelProperty(
            value = "发件人详细地址",
            required = true
    )
    private String address;
    //邮编(ShipperCode 为 EMS、YZPY、YZBK 时必填)
    @ApiModelProperty(
            value = "发件人所在地邮编(物流公司为 EMS、YZPY、YZBK 时必填)"
    )
    private String postCode;
}
